package org.example.springcloud_feign_api.feign;

import org.example.pojo.User;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author shkstart
 * @create 2021-03-11 18:07
 */
@RequestMapping("user")
public interface UserClient {
    @RequestMapping("{id}")
    public User getUser(@PathVariable Integer id);
}
